package com.moon.interview.model.vo;

import com.moon.interview.model.entity.QuestionBank;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@Schema(description = "题目详情返回参数")
public class QuestionVo {
    /** ID */
    @Schema(name = "id", description = "ID")
    private Long id;

    /** 标题 */
    @Schema(name = "title", description = "标题")
    private String title;

    /** 内容 */
    @Schema(name = "content", description = "标题")
    private String content;

    /** 标签 */
    @Schema(name = "tagList", description = "标签")
    private List<String> tagList;

    /** 推荐答案 */
    @Schema(name = "answer", description = "推荐答案")
    private String answer;

    /** 作者ID */
    @Schema(name = "userId", description = "作者ID")
    private Long userId;

    /** 作者名称 */
    @Schema(name = "userName", description = "作者名称")
    private String userName;

    /** 题库ID */
    @Schema(name = "banList", description = "题库ID")
    private List<QuestionBank> bankList;

    /** 创建时间 */
    @Schema(name = "createTime", description = "创建时间")
    private Date createTime;

    /** 更新时间 */
    @Schema(name = "updateTime", description = "更新时间")
    private Date updateTime;

}
